RM_PagBank\Helpers\Recurring C

Total Complexity 101
Dependencies 8
Dependents 12
Total lines 490
Lines of code 352
Logical lines of code 240
Comment lines 51
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
getRecurringTermsFromCart()
C
31 28 107
getFriendlyStatus()
A
55 8 20
areBenefitsActive()
A
55 8 20
isCartRecurring()
S
52 7 25
getCartRecurringTrial()
S
56 7 18
calculateNextBillingDate()
S
53 6 23
hasSubscriptionDiscountRemaining()
S
55 5 19
getFriendlyType()
S
59 5 14
getStatusFromOrder()
S
63 5 12
hasSubscriptionChargeRemaining()
S
56 4 18
canAccessRestrictedContent()
S
58 4 13
getRecurringAmountFromOrderItems()
S
62 3 11
getAdminSubscriptionDetailsUrl()
S
62 3 10
translateFrequency()
S
61 2 12
translateFrequencyTermsPlural()
S
61 2 12
hasDiscount()
S
75 2 4
getAllStatuses()
S
64 1 9
isSubscriptionUpdatePage()
S
72 1 5